<?php get_header();?>
<?php 

$args = array(	
	'child_of'                 => $catobj->cat_ID,	
	'orderby'                  => 'name',
	'order'                    => 'ASC',	
	'pad_counts'               => false ); 
$categories = get_categories( $args );
?>

<h1><?php echo $catobj->name?></h1>

<?php if(!empty($categories)){?>
<div id="category">
	<ul>
			<?php foreach($categories as $cat){?>
			<li><a href="<?php echo home_url('/category/'.$cat->slug)?>"><h3><?php echo $cat->name?></h3></a></li>
			<?php }?>
		
	</ul>
	<div class="cleaner"></div>
</div>						
<?php }?>						
					<div>	
						<?php 
						$i=0;
						while(have_posts()):the_post();						
						$i++;
						
						?>
						<div class="handmade">
		                    <div class="image_wrapper">
		                        <a href="<?php the_permalink()?>" target="_parent">
		                        	<?php the_post_thumbnail(array(200,120),array('alt'=>get_the_title(),'title'=>get_the_title(),'class'=>'imageFix','widthFix'=>200,'heightFix'=>120) );?>		                        	
		                        </a>
		                    </div>
	                        <a href="<?php the_permalink()?>" target="_parent"><h2><?php the_title()?></h2></a> 
	                    </div>
	                    
										
						<?php endwhile; ?>
					</div>	
					
<?php get_footer(); ?>